import * as types from '../type';
import { saleAlsApi } from '@/api';

const state = {
  saleTableData: [],
}

const getters = {

}

const actions = {
  [types.SALE_ALS_TABLE_DATA] (context,payload) {
    // saleAlsApi(params).then(({data}) => {
    //   context.commit('setSaleAlsTableData',data)
    // });

  }
}

const mutations = {
    setSaleAlsTableData(state,payload){
         state.saleTableData = payload.result;
    }
}

export default {
  state,
  getters,
  actions,
  mutations
};
